﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TimKen.DataEntity
{
    /// <summary>
    /// 产品分类实体
    /// </summary>
    public class PCategory
    {
        public PCategory()
        { }
        #region Model
        private int _categoryid;
        private int _languageid;
        private string _categoryimage;
        private int _parentid;
        private int? _sortorder;
        private DateTime? _dateadded;
        private DateTime? _lastmodified;
        private string _categoryname;
        /// <summary>
        /// 
        /// </summary>
        public int CategoryID
        {
            set { _categoryid = value; }
            get { return _categoryid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int LanguageID
        {
            set { _languageid = value; }
            get { return _languageid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CategoryImage
        {
            set { _categoryimage = value; }
            get { return _categoryimage; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 为了不修改数据库，此字段当成此分类模板使用
        /// </summary>
        public int? SortOrder
        {
            set { _sortorder = value; }
            get { return _sortorder; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? DateAdded
        {
            set { _dateadded = value; }
            get { return _dateadded; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? LastModified
        {
            set { _lastmodified = value; }
            get { return _lastmodified; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CategoryName
        {
            set { _categoryname = value; }
            get { return _categoryname; }
        }



        public string Description
        {
            get;
            set;
        }
        public bool IsLeaf
        {
            get;
            set;
        }
        #endregion Model

    }
}
